#ifndef HISTORYFORM_2_H
#define HISTORYFORM_2_H

#include <QWidget>
#include "qcustomplot.h"



namespace Ui {
class HistoryForm_2;
}


class HistoryForm_2 : public QWidget
{
    Q_OBJECT

public:
    explicit HistoryForm_2(QWidget *parent = nullptr);
    ~HistoryForm_2();
    void closeEvent(QCloseEvent *e);
    void drawWaveformPlot(int type);

private slots:


private:
    Ui::HistoryForm_2 *ui;

    QVector<double> x, y; //初始化向量x和y
    QCPGraph * curGraph;
    QCPTextElement *m_title;

};

#endif // HISTORYFORM_H_2
